#include"vector"
#include "vector.h"
using std::endl;
using std::cout;
using namespace Su;

void test1()
{
	vector<int> v;
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(5);
	v.push_back(5);
	v.push_back(5);
	v.push_back(5);
	for (auto e : v)
		cout << e << " ";
	cout << endl;
}

void test2()
{
	vector<int> v(4,100);
	v.print();

	vector<int> v3(2,10);
	v3.print();
	vector<int> v1(v);
	v1.print();
	
	vector<int> v2;
	v2 = v1;
	v2.print();


}

int main()
{
	test1();
	test2();
	return 0;
}